<?
$r = "../";
$p = "signup";

require_once($r."_engine/c_account.php");
if (@$action == "signup") include "signup_process.php";

include $r."_header.php";
?>

<style type="text/css">
<!--
.tdDesc {
	text-align: right;
}
.textInp {
	font-size: 120%;
}
-->
</style>
    
<p class="text">To start using W3Monitor service, please register.</p>

<p class="text">Account activation details will be sent to your e-mail 
after completion of the registration. Please ensure, that a valid e-mail 
address is specified.</p> 


<? 
check_and_show_errors(@$res, $g_new_account_error_message_map);
?>

<form name="form_signup" action="signup.php" method="post">
<input type="hidden" name="action" value="signup">

<table border="0" style="margin-left: -2;">
<tr>
	<td class="tdDesc"><span class="text">Name:</span></td>
	<td><span class="textInp"><input type="Text" name="f_first_name" value="<?=htmlspecialchars(@$f_first_name)?>"
		style="width: 200; height: 24;" 
		class="input2" class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></span></td>
    <td width=300></td>    
</tr>
<tr>
	<td class="tdDesc"><span class="text">E-mail:</span></td>
	<td><span class="textInp"><input type="Text" name="f_email" value="<?=htmlspecialchars(@$f_email)?>" 
		style="width: 200; height: 24;" 
		class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></span></td>
</tr>
<tr>
	<td class="tdDesc"><span class="text">Password:</span></td>
	<td><span class="textInp"><input type="Password" name="f_password" value="<?=htmlspecialchars(@$f_password)?>"
		style="width: 200; height: 24;" 
		class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></span></td>
</tr>
<tr>
	<td class="tdDesc"><span class="text">Re-enter Password:</span></td>
	<td><span class="textInp"><input type="Password" name="f_password2" value="<?=htmlspecialchars(@$f_password2)?>"
		style="width: 200; height: 24;" 
		class="input2" onFocus="this.className='input2_act'" onBlur="this.className='input2'"></span></td>
</tr>
<tr>
	<td colspan="3">
<p class="textSmall">We have a very strict <a href="<?=HrefToPage("privacy")?>">privacy 
policy</a>. The information you provide us will never be abused or sold to a third 
party.</p>		
		</span>
	</td>
</tr>
<tr>
    <td></td>
	<td><span class="text">
		<input type="submit" value="Sign Up" style="width: 70;" class="button2" onMouseOver="this.className='button2_act'" onMouseOut="this.className='button2'">
		</span>
	</td>
    <td></td>
</tr>
</table>

<?/*
<p class="textSmall">We have a very strict <a href="<?=HrefToPage("privacy")?>">privacy 
policy</a>. The information you provide us will never be abused or sold to a third 
party.</p>

<p class="text">
<input type="submit" value="Sign Up" style="width: 70;" class="button2" onMouseOver="this.className='button2_act'" onMouseOut="this.className='button2'">
</p>
*/?>

<input type="hidden" name="f_timezone_offset" value="">
<script language="javascript" type="text/javascript">
var d = new Date()
document.form_signup.f_timezone_offset.value = -d.getTimezoneOffset();
</script>
</form>


<?
include $r."_footer.php";
?>